package cn.com.nes.mybatis.callcenter.mapper;


import cn.com.nes.site.entity.vo.comecall.CallExtensionVO;
import cn.com.nes.site.service.comecall.dto.CallExtensionDto;
import cn.com.nes.site.service.comecall.entity.CallExtension;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CallExtensionMapper extends BaseMapper<CallExtension> {

    List<CallExtensionDto> getExtensions(Page<CallExtensionDto> Page, @Param("companyId") Long companyId);

    int updateBycallExtension(@Param("vo") CallExtensionVO vo);
}
